package com.guldan.jaina.provider;

import com.guldan.core.dubbo.client.ResponseDTO;
import com.guldan.core.search.Pagination;
import com.guldan.jaina.dto.feedback.FeedbackDTO;
import com.guldan.jaina.dto.feedback.FeedbackSearchDTO;

/**
 * Created by Silas.
 * Date: 2017/2/22
 * Time: 12:09
 */
public interface IFeedbackProvider {

    ResponseDTO<FeedbackDTO> get(Integer newsId);


    ResponseDTO<FeedbackDTO> save(FeedbackDTO dto);


    ResponseDTO<Boolean> delete(Integer newsId);


    ResponseDTO<Pagination<FeedbackDTO>> list(FeedbackSearchDTO searchDTO);

}
